package com.demo;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

@SpringBootApplication
@EnableDiscoveryClient
@EnableZuulProxy
public class ApplicationMain {

	public static void main(String[] args) {
		// SpringApplication.run(ApplicationMain.class,args);
		new SpringApplicationBuilder(ApplicationMain.class).web(true).run(args);

	}
}
